﻿Imports System
Imports System.Xml
Imports System.Xml.Serialization

<Serializable()> _
<XmlRootAttribute("Menu", Namespace:="", IsNullable:=True)> _
Public Class Menu

    Public Sub New()

    End Sub


    Private idmenu_ As Nullable(Of Integer)
    <XmlElement("Idmenu")> _
    Public Property idmenu() As Nullable(Of Integer)
        Get
            Return idmenu_
        End Get
        Set(ByVal value As Nullable(Of Integer))
            idmenu_ = value
        End Set
    End Property



    Private idnivel_ As Nullable(Of Integer)
    <XmlElement("Idnivel")> _
        Public Property idnivel() As Nullable(Of Integer)
        Get
            Return idnivel_
        End Get
        Set(ByVal value As Nullable(Of Integer))
            idnivel_ = value
        End Set
    End Property
    <XmlIgnore()> _
    Public ReadOnly Property idnivelSpecified() As Boolean
        Get
            Return (idnivel IsNot Nothing And idnivel.HasValue)
        End Get
    End Property


    Private idgrupo_ As Integer
    <XmlElement("Idgrupo")> _
    Public Property idgrupo() As Integer
        Get
            Return idgrupo_
        End Get
        Set(ByVal value As Integer)
            idgrupo_ = value
        End Set
    End Property







    Private menu_ As String
    <XmlElement("Menu")> _
    Public Property menu() As String
        Get
            Return menu_
        End Get
        Set(ByVal value As String)
            menu_ = value
        End Set
    End Property


    Private tipo_ As String
    <XmlElement("Tipo")> _
    Public Property tipo() As String
        Get
            Return tipo_
        End Get
        Set(ByVal value As String)
            tipo_ = value
        End Set
    End Property



    Private visible_ As Boolean
    <XmlElement("Visible")> _
    Public Property visible() As Boolean
        Get
            Return visible_
        End Get
        Set(ByVal value As Boolean)
            visible_ = value
        End Set
    End Property


    Private usuario_ As String
    <XmlElement("Usuario")> _
    Public Property usuario() As String
        Get
            Return usuario_
        End Get
        Set(ByVal value As String)
            usuario_ = value
        End Set
    End Property




End Class
